home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
telecomm
/
515
/
chekbill
/
chekbill.spt
next >
Wrap
Text File
|
1991-03-11
|
2KB
|
58 lines
SCRIPT 7 Check GEnie Bill
CLEAR Clear the screen
echo off Don't display commands
NOTE
NOTE " Check GEnie Billing Script"
NOTE " by Fred H. Koch"
NOTE " [F.KOCH]"
NOTE
NOTE "This script will capture your GEnie bill for the month(s) specified."
NOTE "This is a Star*Service and has no additional cost. Enter the"
NOTE "month(s) to check as JAN or APR-MAY or press RETURN for all months."
NOTE "Entering a non-existant month will display all months available."
NOTE
GETSTRING 1 The month(s) to check
IF SUCCESS ESC not pressed
IF STRING 1 IS "" Return pressed for all months
NOTE "All available months to be checked."
ENDIF
NOTE
NOTE "Enter the path and file name to use for saving the bill list."
NOTE "Press Return to use GENEBILL.TXT. Duplicate names bill be appended."
NOTE
ELSE
CLEAR
NOTE
NOTE "Script aborted."
GOTO EXIT Exit script
ENDIF
GETSTRING 2 Bill file name
IF SUCCESS ESC not pressed
LOG ONTO 8005 Bill checking menu
SENDLINE "3"
WAITFOR "All]"
SENDLINE "%1" Send month(s) to be checked
IF STRING 2 IS "" Return for default file name
;if a path is desired for the billing text replace CAPTURE GENEBILL.TXT
;with the line below, after providing the desired path
;CAPTURE DRIVE:FOLDER1\FOLDER2\GENEBILL.TXT
CAPTURE GENEBILL.TXT Open capture file
ELSE
;a default folder path may also be provided for entered file
;names, but no check is made if two paths are entered which will
;cause an error. Replace the CAPTURE %2 with the line below
;CAPTURE DRIVE:FOLDER1\FOLDER2\%2
CAPTURE %2 Open capture with entered file name
ENDIF
WAITFORPROMPT Wait until bill list done
ENDCAPTURE Close the capture file
LOG OFF Log off GEnie
ELSE
CLEAR
NOTE
NOTE "Script aborted."
ENDIF
:EXIT
ENDSCRIPT